# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=ts
pkgver=1.0
pkgrel=1
pkgdesc="A simple Unix batch system"
url="https://vicerveza.homeunix.net/~viric/soft/ts/"
arch="all"
license="GPL-2.0-or-later"
checkdepends="bash"
subpackages="$pkgname-doc"
source="https://vicerveza.homeunix.net/~viric/soft/ts/ts-$pkgver.tar.gz"

build() {
	make
}

check() {
	./testbench.sh >/dev/null
}

package() {
	make PREFIX="$pkgdir"/usr install
}

sha512sums="2c0f1fab12126e5c7fc7d211ca71967082f95b202b897be25c4cf0058236f911d1f1a99bdd09830e54ce6ad57db372078eb29b778fae05bc92d3f59399cb4952  ts-1.0.tar.gz"
